<script setup>
import {ref} from "vue";

let message = ref("")
</script>

<template>
  <h2 id="displayText">{{ message }}</h2>
  <!-- 表单输入绑定结合输入框 -->
  <input type="text" id="textInput" placeholder="请输入任意文本..." v-model="message">
</template>

<style scoped>

</style>